<%--
   operate
   Copyright (c) 2013 ISPERP
   Version : 1.0.0
 --%>
<%@ tag language="java" pageEncoding="UTF-8"
	deferredSyntaxAllowedAsLiteral="false" trimDirectiveWhitespaces="true"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ attribute name="code" required="false" type="java.lang.String"
	description="帮助信息在系统的编号"%>
<%@ attribute name="title" required="false" type="java.lang.String"
	description="标题"%>
<c:set var="title" value="${empty title?'操作帮助':title }"></c:set>
<c:set var="id" value="<%=(int)(Math.random()*1000000) %>"></c:set>
<div class="m m7 help">
	<div class="mt">
		<h3>${title }</h3>
	</div>
	<div class="mc">
		<div id="operate_${id}" class="h-txt"></div>
		<jsp:doBody />
	</div>
</div>
<c:if test="${not empty code }">
<script type="text/javascript">
	$(function() {
		$.get("app/systemHelp/getByCode/${code}", function(data) {
			$("#operate_${id}").html(data.content);
		});
	});
</script>
</c:if>



